package com.heima.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.security.PrivateKey;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Result {

    private Integer code;
    private String message;
    private Boolean success;
    private Object data;

    public Result(Integer code,String message,Boolean success){
        this.code = code;
        this.message = message;
        this.success = success;
    }
}
